package com.example.lottery_system.controller.param;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 短信参数
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ShortMessageParam extends UserLoginParam{

    @NotNull(message = "手机号/邮箱不能为空!")
    private String number;
    @NotNull(message = "验证码不能为空!")
    private String code;

}
